export const load = key => JSON.parse(localStorage.getItem(key))

export const write = (key, value) => localStorage.setItem(key, JSON.stringify(value))
